﻿<%@ Page Language="C#" MasterPageFile="~/Pages/Main.master" AutoEventWireup="true"
    CodeFile="OrgView.aspx.cs" Inherits="OrgView" Title="查看组织" %>

<%@ Register Src="../controls/OrgUsrs.ascx" TagName="OrgUsrs" TagPrefix="uc3" %>
<%@ Register Src="../controls/OrgHot.ascx" TagName="OrgHot" TagPrefix="uc2" %>
<%@ Register Src="../controls/GroupView.ascx" TagName="OrgView" TagPrefix="uc1" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" runat="Server">
    <div id="tab-side">
        <div class="side-info">
            <div class="side-info-green" style="width: 245px">
                <div class="title">
                    组织</div>
                <div>                
                    <div id="person">
                    加入组织可以:
                        <ul><li>公司: 行业内公司全面的介绍信息</li>
                        <li>校友会: 在校友会中获得推荐的机会</li>
                        <li>论坛: 各大BBS站点的动态信息</li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <uc2:OrgHot ID="OrgHot1" runat="server"></uc2:OrgHot>
        <uc3:OrgUsrs ID="OrgUsrs1" runat="server"></uc3:OrgUsrs>
    </div>
    <div id="tab-content">
        <div class="info-item">
             <span class="title">\ <a href="<%=PrePage%>"><%=PreTitle%></a> \ <%=title %></span><br />
            <div class="content">
                <uc1:OrgView ID="OrgView1" runat="server" />
                <div id="sub-tab-content">
                    <div id="sub-sub-tab">
                        <a href="OrgView.aspx?orgid=<%=orgid%>" class="current">主题</a> <a href="OrgUsr.aspx?orgid=<%=orgid%>">成员</a>
                    </div>
                    <div style="margin-left: 1em;">
                        <asp:GridView ID="GridView_OrgArtList" runat="server" ForeColor="#333333" DataKeyNames="Art_id"
                            GridLines="None" Width="100%" CellPadding="4" AutoGenerateColumns="False">
                            <Columns>
                                <asp:TemplateField HeaderText="标题">
                                    <ItemTemplate>
                                        [<%# GetArtType(Eval("Art_type"))%>]<asp:HyperLink ID="hlTitmel" runat="server" Text='<%# Eval("Art_title") %>' NavigateUrl='<%# "ExpView.aspx?ArtID="+Eval("Art_id") %>'></asp:HyperLink>
                                    </ItemTemplate>
                                    <HeaderStyle HorizontalAlign="Left" />
                                </asp:TemplateField>     
                                <asp:TemplateField HeaderText="时间">
                                    <ItemTemplate>
                                         <%# GetTime(Eval("Art_time")) %>
                                    </ItemTemplate>
                                    
                                    <ItemStyle HorizontalAlign="Right" />
                                </asp:TemplateField>                                                                                     
                            </Columns>
                        </asp:GridView>
                        <div style="text-align: center; border-bottom: 1px solid #ccc; padding-bottom: 0.5em;">
                            <asp:LinkButton ID="btnNew" runat="server" Text="发表" OnClick="btnNew_Click" CssClass="submitbutton5" />&nbsp;
                            <asp:LinkButton ID="btnFresh" runat="server" Text="刷新" OnClick="btnFresh_Click" CssClass="submitbutton5" />&nbsp;
                            &nbsp;<asp:LinkButton
                                ID="btnFrontPage" runat="server" Text="首页" OnClick="btnFrontPage_Click" CssClass="submitbutton5" />
                            &nbsp;&nbsp;
                        </div>                       
                           <div align=center>
                           <table><tr>
                           
                                <td><img src="../images/search_bt03.png"></td><td><webdiyer:AspNetPager ID="AspNetPager1"
                                    runat="server" OnPageChanging="AspNetPager1_PageChanging" PageSize="10">
                                </webdiyer:AspNetPager></td>
                           
                                <td><img src="../images/search_bt01.png"></td>
                                </tr></table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
